package main

import (
	"fmt"
	"math/rand"
)

func main() {
	//fmt.Print(rand.Intn(100), ",")
	//fmt.Print(rand.Intn(100))
	//
	//fmt.Println()
	//fmt.Println(rand.Intn(10))
	//fmt.Println(rand.Float64())
	//
	//fmt.Println((rand.Float64() * 5) + 5)
	//fmt.Print((rand.Float64() * 5) + 5)
	//fmt.Println()
	//
	//s1 := rand.NewSource(time.Now().Unix())
	//r1 := rand.New(s1)
	//
	//fmt.Println(r1.Intn(100),",")
	//fmt.Println(r1.Intn(100))

	s2 := rand.NewSource(42)
	r2 := rand.New(s2)
	fmt.Println(r2.Intn(100),',')
	fmt.Println(r2.Intn(100))
	fmt.Println()

	s3 := rand.NewSource(42)
	r3 := rand.New(s3)
	fmt.Println(r3.Intn(100),',')
	fmt.Println(r3.Intn(100))
}
